package com.nursinghome.common.mapper;

import com.nursinghome.bean.OrderDetail;

import java.util.List;

/**
* @author 程硕
* @createDate 2025-04-07 01:10:33
* @Entity com.nursinghome.bean.OrderDetile
*/
public interface OrderDetailMapper {
    //新增
    Integer insert(OrderDetail orderDetail);
    //修改
    Integer update(OrderDetail orderDetail);
    //根据id回显数据
    OrderDetail selectById(Long id);
    //查询所有
    List<OrderDetail> selectAll(OrderDetail orderDetail);
    //删除
    Integer delete(Long id);
    //根据订单号查询订单详情
    List<OrderDetail> selectByOid(String oid);

}
